<template>
  <div class="text-message-container"
       v-bind:class="{out:message.direction === 0}">
    <p class="text">不支持该消息类型，请在手机上查看</p>
  </div>
</template>

<script>
import Message from "@/wfc/messages/message";

export default {
  name: "UnsupportMessageContentView",
  props: {
    message: {
      type: Message,
      required: true,
    }
  }
}
</script>

<style lang="css" scoped>
.text-message-container {
  margin: 0 10px;
  padding: 10px;
  background-color: white;
  position: relative;
  border-radius: 5px;
}

.text-message-container.out {
  background-color: #98ea70;
}


.text-message-container .text {
  color: #050505;
  font-size: 16px;
}

</style>
